package model;

import util.FormateDate;

/**
 * VTransportLine entity. @author MyEclipse Persistence Tools
 */

public class VTransportLine implements java.io.Serializable {

	// Fields

	private Integer transportid;
	private Integer lineid;
	private String origin;
	private String destination;
	private Integer transportstatus;
	private String time;

	// Constructors

	/** default constructor */
	public VTransportLine() {
	}

	/** minimal constructor */
	public VTransportLine(Integer transportid, Integer lineid,
			Integer transportstatus) {
		this.transportid = transportid;
		this.lineid = lineid;
		this.transportstatus = transportstatus;
	}

	/** full constructor */
	public VTransportLine(Integer transportid, Integer lineid, String origin,
			String destination, Integer transportstatus, String time) {
		this.transportid = transportid;
		this.lineid = lineid;
		this.origin = origin;
		this.destination = destination;
		this.transportstatus = transportstatus;
		this.time = time;
	}

	// Property accessors

	public Integer getTransportid() {
		return this.transportid;
	}

	public void setTransportid(Integer transportid) {
		this.transportid = transportid;
	}

	public Integer getLineid() {
		return this.lineid;
	}

	public void setLineid(Integer lineid) {
		this.lineid = lineid;
	}

	public String getOrigin() {
		return this.origin;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public String getDestination() {
		return this.destination;
	}

	public void setDestination(String destination) {
		this.destination = destination;
	}

	public Integer getTransportstatus() {
		return this.transportstatus;
	}

	public void setTransportstatus(Integer transportstatus) {
		this.transportstatus = transportstatus;
	}

	public String getTime() {
		return FormateDate.datetimeFormat(this.time);
	}

	public void setTime(String time) {
		this.time = time;
	}

}